package br.edu.ifrn.potigol.lang;

@SuppressWarnings("serial")
public class IndexOutOfBounds extends PotigolException {
	public IndexOutOfBounds(int index, int size, String name) {
	    super("Indice fora dos limites: Indice: " + index + ", Tamanho: " + size +  " em " + name);
	    setRuntimeClass("ErroIndice");
	}
}
